package org.darkforest.dao.mapper;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.GiftPackage;

import java.util.List;

@DBMapper
public interface GiftPackageMapper {
    int deleteByPrimaryKey(Integer packageId);

    int insert(GiftPackage record);

    int insertSelective(GiftPackage record);

    GiftPackage selectByPrimaryKey(Integer packageId);

    int updateByPrimaryKeySelective(GiftPackage record);

    int updateByPrimaryKey(GiftPackage record);

    List<GiftPackage> selectByCondition(GiftPackage record);
}